//
//  EntityBase.m
//  Weibbo
//
//  Created by ifuninfo on 13-6-9.
//  Copyright (c) 2013年 Omnivores. All rights reserved.
//

#import "EntityBase.h"
@implementation EntityBase
- (NSMutableDictionary *)toDictionary
{
    NSMutableDictionary  *result = [NSMutableDictionary dictionary];
    return result;
}
- (NSString *)toJson
{
    NSDictionary *result = [self toDictionary];
    NSData  *resultData =  [NSJSONSerialization dataWithJSONObject:result options:NSJSONWritingPrettyPrinted error:nil];
    NSString  *resultString = [[NSString alloc] initWithData:resultData encoding:NSUTF8StringEncoding];
    return   UIAutoRelease(resultString);
}
@end
